﻿using System;
using System.Collections.Generic; 
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class integral_draw : System.Web.UI.Page
{
    protected Model.CMember modelcm = null;
    protected Model.UsersAccount uaccout = null;
    protected List<Model.DrawWin> winlist = null;
    protected void Page_Load(object sender, EventArgs e)
    {
        userLogin();
        int total = 0;
        winlist = BLL.DrawWin.GetPageList_Where(0,10,out total);
    }
    protected void userLogin()
    {
        modelcm = BLL.CMember.UserLoginInfo();
        if (modelcm == null)
        {
            Response.Redirect("/Login.aspx");
        }
        else
        {
            uaccout = BLL.UsersAccount.GetModeluser_id(modelcm.Id);
        }
    }
}